home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / gui / gtldv374.lha / GadUtil / Docs / AutoDocs / 48.GU_SortList < prev    next >
Text File  |  1996-05-14  |  887b  |  31 lines

  1. gadutil.library/GU_SortList                       gadutil.library/GU_SortList
  2.  
  3.    NAME
  4.     GU_SortList -- Sorts all nodes in a list.
  5.  
  6.    SYNOPSIS
  7.     GU_SortNode(list,slavelist)
  8.                 A0   A1
  9.  
  10.     VOID GU_SortList(struct List *, struct List *);
  11.  
  12.    FUNCTION
  13.     Sorts all items an a list and optionally in a slave list.
  14.  
  15.     The slave list option can be used eg. if you have a ListView
  16.     gadget that shows a number of filenames and another list
  17.     with the path-names to the files in the other list.
  18.  
  19.     Note that the slavelist pointer must be NULL if not used.
  20.  
  21.    INPUTS
  22.     list      - A pointer to the list to sort
  23.     slavelist - A pointer to an optional slave list (or NULL).
  24.  
  25.    NOTES
  26.     Written in assembler using Shell-sort, so it is quite fast..
  27.  
  28.    SEE ALSO
  29.     GU_AddTail(), GU_ClearList(), GU_DetachList(), GU_AttachList()
  30.     GU_FindNode(), GU_NodeUp(), GU_NodeDown(), GU_NewList(), GU_CountNodes()
  31.